package com.ruoyi.sale.service;

import java.util.List;
import com.ruoyi.sale.domain.SalePayorder;

/**
 * 支付订单Service接口
 * 
 * @author ruoyi
 * @date 2022-09-02
 */
public interface ISalePayorderService 
{
    /**
     * 查询支付订单
     * 
     * @param id 支付订单主键
     * @return 支付订单
     */
    public SalePayorder selectSalePayorderById(Integer id);

    /**
     * 查询支付订单列表
     * 
     * @param salePayorder 支付订单
     * @return 支付订单集合
     */
    public List<SalePayorder> selectSalePayorderList(SalePayorder salePayorder);

    /**
     * 新增支付订单
     * 
     * @param salePayorder 支付订单
     * @return 结果
     */
    public int insertSalePayorder(SalePayorder salePayorder);

    /**
     * 修改支付订单
     * 
     * @param salePayorder 支付订单
     * @return 结果
     */
    public int updateSalePayorder(SalePayorder salePayorder);

    /**
     * 批量删除支付订单
     * 
     * @param ids 需要删除的支付订单主键集合
     * @return 结果
     */
    public int deleteSalePayorderByIds(Integer[] ids);

    /**
     * 删除支付订单信息
     * 
     * @param id 支付订单主键
     * @return 结果
     */
    public int deleteSalePayorderById(Integer id);
}
